package com.yunfeng.supercall.bean;

public class SuperFriendsDelegateBean {
	private int id;
	private String real_name;
	private String phone;
	private String photo;
	private int userid;
	private int type;
	private long lastChatTime;
	private String suid;
	private String vo_id;
	private boolean contactsFromPhone;// 这个好友是手机通讯录，还是超友通讯录
	private String address;
	private int level;
	private String note;
	private int isfollower;
	private int sucolor;
	private String nick_name;
	private double lat;
	private double lng;
//	int sex;
	
//	private int unreadcount;
//	private boolean unread;

//	public boolean isUnread() {
//		return unread;
//	}
//
//	public void setUnread(boolean unread) {
//		this.unread = unread;
//	}
//
//	public int getUnreadcount() {
//		return unreadcount;
//	}
//
//	public void setUnreadcount(int unreadcount) {
//		this.unreadcount = unreadcount;
//	}

	/*public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}*/

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		if (o instanceof SuperFriendsDelegateBean) {
			SuperFriendsDelegateBean s = (SuperFriendsDelegateBean) o;
			return s.userid == userid;
		}
		return super.equals(o);
	}

	public SuperFriendsDelegateBean() {
		// TODO Auto-generated constructor stub
	}

	public SuperFriendsDelegateBean(SuperFriendsBean friends) {
		setReal_name(friends.getReal_name());
		setPhone(friends.getPhone());
		setPhoto(friends.getPhoto());
		setUserid(friends.getUserid());
		setType(friends.getType());
		setLastChatTime(friends.getLastChatTime());
		setSuid(friends.getSuid());
		setVo_id(friends.getVo_id());
		setContactsFromPhone(friends.isContactsFromPhone());
		setAddress(friends.getAddress());
		setLevel(friends.getLevel());
		setIsfollower(friends.getIsfollower());
		setSucolor(friends.getSucolor());
		setNote(friends.getNote());
		setNick_name(friends.getNick_name());
		setLat(friends.getLat());
		setLng(friends.getLng());
//		setUnreadcount(friends.getUnreadCount());
//		setUnread(friends.isUnread());
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public long getLastChatTime() {
		return lastChatTime;
	}

	public void setLastChatTime(long lastChatTime) {
		this.lastChatTime = lastChatTime;
	}

	public String getSuid() {
		return suid;
	}

	public void setSuid(String suid) {
		this.suid = suid;
	}

	public String getVo_id() {
		return vo_id;
	}

	public void setVo_id(String vo_id) {
		this.vo_id = vo_id;
	}

	public boolean isContactsFromPhone() {
		return contactsFromPhone;
	}

	public void setContactsFromPhone(boolean contactsFromPhone) {
		this.contactsFromPhone = contactsFromPhone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getIsfollower() {
		return isfollower;
	}

	public void setIsfollower(int isfollower) {
		this.isfollower = isfollower;
	}

	public int getSucolor() {
		return sucolor;
	}

	public void setSucolor(int sucolor) {
		this.sucolor = sucolor;
	}

	public String getNick_name() {
		return nick_name;
	}

	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLng() {
		return lng;
	}

	public void setLng(double lng) {
		this.lng = lng;
	}

}
